QuickOPC User's Guide and Reference
Automatic Subscription (With the Form or Window)
Development Models > Live Binding Model > Live Binding Model for OPC Data (Classic and UA) > Typical Binding Scenarios > Automatic Subscription (With the Form or Window)

This is the default behavior. The binding is online while the form or window is open. You can bind to all types of components and controls. You can bind to any property or field. You can also bind to some methods and events.

How to configure this feature for OPC-DA:

If you have not done so yet, place the DAConnectivity component onto the component tray of the form or window (this is a common step for all binding tasks).

Use the "Bind to Point" command on the target control, and select the source OPC server and OPC item.

That's it. You can verify the result immediately, without recompiling your application, by using the "Design Online" command on the BindingExtender component.

How to configure this feature for OPC-UA:

If you have not done so yet, place the UAConnectivity component onto the component tray of the form or window (this is a common step for all binding tasks).

Use the "Bind to Point" command on the target control, and select the source OPC-UA server and OPC node.

That's it. You can verify the result immediately, without recompiling your application, by using the "Design Online" command on the BindingExtender component.

See Also